Fine-grain Incremental Implementation of Algebraic Speciications Note: Partial Support Received from the European Communities under Esprit Project 2177 (generation of Interactive Programming Environments, Phase 2 -gipeii) and from the Netherlands Organization for Scientiic Research -nwo, Project Incremental Program Gen- Erators

نویسنده

  • E A Van Der Meulen
چکیده

In a previous paper we described how an incremental implementation can be derived from algebraic speciications belonging to the subclass of well-presented primitive recursive schemes. We combined term rewriting with techniques for storage and re-use from attribute grammars. Type check speciications typically belong to the class of primitive recursive schemes. The uniformity of algebraic speciications allows us to generalize our incremental algorithms to functions on values of auxiliary data types, without extending or modifying the speciication language. Thus, we can obtain ne-grain incremental implementations. This ne-grain incrementality can be derived from a subclass of algebraic speciications that we will call layered primitive recursive schemes. A ne-grain incremental implementation of a table data type can solve the problem caused by aggregated attribute values like symbol tables. (A change in an aggregated value causes a re-evaluation of all attributes that depend on this table, also when they do not depend on the modiied part.) When a lookup function in a table data type is declared to be incremental, a function cache for lookup is automatically generated. Direct deenition-use dependencies are established from entries in the function cache to attributes in the edit-tree that functionally depend on these entries. Moreover, after each modiication in the table the cache is updated incrementally.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Visual Object Deenition Language

This paper discusses a declarative constraint-based picture deenition language, Vodl, which serves as a graphical basis for visual language speciication and visual programming environments. Our goal is to examine the utility of a formal description of graphical tokens and visual languages for the purpose of increasing the understanding of and the development of general methods for graphical lan...

متن کامل

Which data types have w-complete initial algebra specifications?*

Bergstra, J.A. and J. Heering, Which data types have o-complete initial algebra specifications’?, Theoretical Computer Science 124 (1994) 1499168. An algebraic specification is called w-complete or inductively complete if all (open as well as closed) equations valid in its initial model are equationally derivable from it, i.e., if the equational theory of the initial model is identical to the e...

متن کامل

Reverse Engineering and System Renovation | an Annotated Bibliography |

To facilitate research in the eld of reverse engineering and system renovation we have compiled an annotated bibliography. We put the contributions not only in alphabetical order but also grouped by topic so that readers focusing on a certain topic can read their annotations in the alphabetical listing. We also compiled an annotated list of pointers to information about reverse engineering and ...

متن کامل

A fuzzy multi-objective model for a project management problem

In this research, the multi-objective project management decision problem with fuzzy goals and fuzzy constraints are considered. We constitute α-cut approach and two various fuzzy goal programming solution methods for solving the Multi-Objective Project Management (MOPM) decision problem under fuzzy environments. The Interactive fuzzy multi-objective linear programming (i-FMOLP) and Weighted Ad...

متن کامل

Reuse by Program Transformation

Certain adaptations, that are usually performed manually by functional programmers are formalized by program transformations in this paper. We focus on adaptations to obtain a more reusable version of a program or a version needed for a special use case. The paper provides a few examples, namely propagation of additional parameters, introduction of monadic style, and symbolic rewriting. The cor...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991